<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ include file="/pages/common/taglibs.jsp"%>

<form:form id='fright_upload_form' action="${ctx}/cbrmb/freight/upload.do" method="post" target="_blank">
	<input type="hidden" id="verficationCode" name="verficationCode" value="${sessionScope.gopay_webtest_key}" size="50" />
	<table width="100%">
		<tr>
			<td width="30%" align=right>网关版本:</td>
			<td align=left width="45%">
				&nbsp;&nbsp;<input type="text" id="gateway_version" name="version" value="2.0" size="50" />
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>交易代码:</td>
			<td align=left width="45%">
				&nbsp;&nbsp;<input type="text" id="tranCode" name="tranCode" value="7025" size="50" />
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>商户ID:</td>
			<td align=left width="45%">
				&nbsp;&nbsp;<input type="text" id="merchantId" name="merchantId" value="${upload_prepare_info.merchantId}" size="50" />
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merchantIDTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>商户订单号:</td>
			<td align=left width="45%">&nbsp;&nbsp;
				<input type="text" id="merOrderNum" name="merOrderNum" value="" size="50" />
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merOrderNumTip"></span>
			</td>
		</tr>
		<!-- Update: Andronicus.Ge 2016-12-08 -->
		<!-- 新增承运商,运单号和运单类型字段 -->
		<!-- ============================================START============================================= -->
		<tr>
			<td width="30%" align=right>承运商:</td>
			<td align=left width="45%">&nbsp;&nbsp;
				<input type="text" id="carrier" name="carrier" value="${upload_prepare_info.carrierName}" size="50" />
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>运单号:</td>
			<td align=left width="45%">&nbsp;&nbsp;
				<input type="text" id="freightNum" name="freightNum" value="" size="50" />
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>运单类型:</td>
			<td align=left width="45%">&nbsp;&nbsp; 
				<select id="freight_type" name="freightType">
					<option selected="selected"></option>
					<option value="upload">上传</option>
					<option value="add">新增</option>
				</select>
			</td>
		</tr>
		<!-- ============================================END=============================================== -->
		<tr>
			<td colspan=2 width="100%">
				<center>
					<input type="button" value="设置默认值" id="defButton">
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>
		
	</table>
</form:form>
<script type="text/javascript"
	src="${ctx}/pages/templete/js/validate/cbrmb/cbrmb_freight_upload.js"></script>
